﻿using System.Collections.Generic;
using System.Runtime.InteropServices;
using todo.Model;

namespace todo.Interop
{
    [ComVisible(true)]
    public class CollapsedItemInfos
    {
        private List<CollapsedItemInfo> _list;

        public CollapsedItemInfos()
        {
            _list = new List<CollapsedItemInfo>();
        }

        public void Add(CollapsedItemInfo t)
        {
            _list.Add(t);
        }

        [ComVisible(false)]
        public List<CollapsedItemInfo> GetList()
        {
            return _list;
        }
    }
}